Update test toggle to use a map of source/alternate strings to feed into substitute() instead of a list of subfolders.