add command-line entry point