Added running mode configuration.