Changed position of some cmd variables, as was causing an issue with brightness control on both colour and white lights. once moved below selectzone command solved issue