added some error checking for different formats, added conf file to test hash metrics