Fixed the mode of the provisioning script