added option to keep specific stream PIDs in stream