Fix Heroku deploy

Handle Gist redirects
Fix typo and formatting.