updating language detection script
updating language detection script