Modified script to make it easier to change versions. Used ~ instead of heroku for easy testing locally.