forgot too add -c and -h flag to the while getopts loop