added version activation and deactivation