trying to fix my app factory config for heroku