Added checks for the provisioning script