includes should go at the top, just above where you have the osfamily case statement (line 32)