making provision.sh work on Mac
fixup of the provision.sh script
fixed copying of keys so they work on the mac