Remove -f flag, attempt to masquerade anyway if the version check fails.
Removing freebsd completely from the script
fix curl command on smartos