Added utility for retrieving the current operating system.