Apparently heroku can't use __dirname. Fixed that I think