Modafinil was originally developed and approved as a prescription medication to treat narcolepsy