Rework with getopts and config defaults