updated rebuildLanguages scripts