Add activate and deactivate scripts