fixing up app for require build