Reverted dist addition in index. Added heroku setting to buildcontrol