more work on new hashing scheme got a working script