make heroku compatible attempt 2