Added output directory to config and arguments