Add preinstall scripts