added 'languages' directory and config variable