Fixed running app on dev vs prod