Added command-line interface