add getopt to appliance50 command