fixed the bug in main, added p and e per Trollop requirements. Now works with heroku.

I was unable to push up to heroku until I added the p and e to the main function. 

Carly