in and out dir set