Added the option to modify the format of the output path