fixed blockMAC.sh script to be smarter