It has caused insomnia. I am now taking in the a.m. instead of at night and am still having trouble sleeping. It seems counter productive to be taking medication to help with migraines that causes insomnia when I know sleep is important in helping with migraines. Any suggestions