Added configuration for multiple paths and modifyVars.