adding a console printout file and refreshing scratchPad