Fix provisioning script