Added optional environment variable mode-override

Some editors or platforms use the stdout as given without being properly identifiable. As a workaround I added a environment variable that would act as a mode override and could be set when launching the applications.