Added a switch directive to differentiate the site status.