added support for subfolders in post-processing