First script version (channels are unused yet)