adding option to define root where to load npm modules from