Fix for #26

Fix for #26 

Please @bluejamesbond tell me if it truly fixes the problem with the heroku app