Fixing app to run on prod