Fix the runmode capitlization