added useSessionLanguage option