Fixed provisioning script