added a ":" to the getopt "c" option so it would take a param