Add heroku scripts.
Extract index file variable.