Added -t missing option to getopt call