fix story bug and compile assets

also change configs for heroku