Updated language database and moved something outside of a function.