Cleaning up install_apps a bit.