added temporary directory for hash value finding function