Fixed: shutdown method
Moved: config checks
Changed: switch with Strings