it still heals don ' t it ? at least the one i pulled does all that and heals . <| sep |> if you watch maddoxs reply he said that he was taken out of context . penn apologised to him as well <| sep |> Mmm , not really , I think . GROLEgid 1 gid 2 gid 3 I need to be able to put r GROLE and based on an if get either $, $ or $. This output will later be used in the useradd command with the G option . Does that make more sense ? I wrote this in Python and maybe it ' s a wrong way of going about it trying to translate it directly , here ' s the python code . The roles are in a nested dictionary ROLES ' grole 1 ' ' dev ' ' 8027 ', ' uat ' ' 8017 ', ' prd ' ' 8007 ' PARSER argparse . ArgumentParserdescription PARSER . addargumentr , role , typestr , helpRole across environment . , nargs 1 , requiredTrue ARGS PARSER . parseargs def doesroleexist if ARGS . role in ROLES . keys pass else sys . exitExiting role does not exist