create result directory before plugin call