modified: getting app through require