before uploading to heroku