add output directoy checking