Added functionality to change mode.

2 jobs for bugfixes in 2 minutes and 3 seconds