Added code to get device version from the device
Remove unnecessary comment