starting refactoring to use the execute() with a list of values (as opposed to explicitly creating the string)
added reference hash values in test from dirhash