Removed app.install_dir, created private function in App class instead.