Added os detection to my bashfile.