Extracted PTSY to run on Heroku