I have never used either of the drugs you mentioned.
And have no clue as to why your doctor prescribed them.
We can't give medical advice on SR ..the wisest idea is
to keep communication open between you and the doctor.
Here is what I did...
No I did not use a drug for cravings.
I did take positive actions instead.
In early sobriety ....
I timed my cravings...they lasted 5-7 minutes
not too long to be uncomfortable IMO
I atended AA daily before work and on weekends.
I wanted to learn how to live sober. without drugs.
I walked...drank cold water...brushed my teeth ..danced
around the room..used Lifesavers...ate ... took showers
distraction short term distractions.....
Rather quickly they lessened in both frequency and intensity.
With my doctors ok..I was also following an eating plan for
hypoglycemia + the supplements I found in the book
"Under The Influence" by Milam & Ketcham.
In retrospect...that helped immensley to get me back in
both mental and physical balance.
By the end of 2 months of AA recovery...all cravings were
gone and have never returned.
Good to know your sober time is continueing..