Removed thumbnail macro, renamed localDir to localeDir