Mods to install and preinstall scripts