changed >> to > for the command line interface