Preventing scripts from running outside the installer.