Elavil is prescribed because it is an antispasmadic drug as well. It calms the stomach. The docs all know this. :-)...