Move coding and mode configurations to Local Variables