channel input generation script rework