Replaced request option with getopts.