Should work regardless of the length of the version string now
Fixed missing colon is switch/case