change directory of output