getopts machine and prefix