customHash is now implemented.
fixed bug with import code of custom hash function