optimizing for heroku deployment