move output dir to config file