Adding blue/orange detection to Linux/Mac script.