Sure sounds like you have the standard symptoms of migraine headaches, but I am surprised that you get much relief from ibuprofen. Thus, you may just be having tension headaches. A doctor, preferably a neurologist, needs to diagnose what type of headaches you are having. I am amazed that you are dispensed any type of medication at all in a school setting. In my experience, heaven and earth had to be moved for student to be dispensed any type of medication in a school setting.
Good luck and let us know what happens!
"The weather is here, I wish you were beautiful."
- Jimmy Buffett