made the provision script a little more indempotent