dynamically setting port for heroku
entanglement tweaks