os detection script for