basic activating and deactivating of plugins now working