moved instance specific code outside of app specific installs