change config.dirModules & config.dirStatic to modules & static