use getopts for command-line args