Silly question...why the "+1"? Shouldn't you set the value hopsToTargetDirectory = hopsToCompileDirectory + 2 or use "<=" in the loop?