Private key check fix and --help option added