Disable / Enable sites

Cleaned up code.