Fixed so that hopefully it works on heroku now