Added a single language mode to the preprocessing code