added --help and -h options