prep app to run in my weird environment.