added -t and -T options for time based command line