added merge_hash command to allow merging of hash variables