Fixed bug in OutputFolder replacements