fix the location of cmdRegEx ans siteConfig clasess