added erlang mode settings.