added script to get os type