added support for channel options passed in query string