Moved OUL DIR out of the run method so to fix problem with CX release