Added helper scripts to manage site states