distinguishing between Local and Heroku setups
added open script to load render URI dynamically
updated version