Added -h flag to getopts to trigger the help message