altered dirName passed back to browser