improving the provision scripts