Split install script into OS install and app install