extended reset function
outputdirectory