checking for amazon functionality and pushing to heroku.