fix the provisioning script