small change to rename existing output directory, to be checked