simplified the local_provision script