Added update cwd to app directory when precompiller running