added logic to prevent the overwrite of postmirror.sh and minor spelling fixes