prep app for precompile