update level switch syntax; add logic edge case for command/disk.go loop