change reading variable HASH_METHOD from config