line 223 character is misspelled, which leads to getopt error. Once fixed, script works.
line 223 character is misspelled, which leads to getopt error. Once fixed, script works.