added mac.ps1, a windows version of mac.sh