updated channel var generation using assigned ID's rather than names from channels; implemented this way to accomodate audio layer-based channels