Improved script provisioner