add bash parsing using getopts
bash parsing options and arguments using getopts