moved setting of OUL_DIR