Fixing Heroku deployment issues