Changed get_arg to get_argflag