fixed scripts to point right. fixed hashing technique