disable Advanced Metadata plugin when script is running