Activate/deactivate in batch