Added recursive functionality to reg.exe query