fix provisioning of shell script (for idempotence)