PathMappings are now passed to the js script, along with a target folder to write to if required.