support pipelining via script request()
cleanup & pipelining for 3.1.0 release