added command-line utilities