Updated scripts for correct provisioning