re-ordered parameters to require the record title before the command. added support for reading key values from standard input