Update modem-settings.sh

Fixed to using awk more than cuts. Also set it up to implement more Override features.