convert it to a php application for heroku