added a flag to check if site is installed/not installed before attempting install/update procedures