renamed 'root' to 'modulesRoot'