filter: fixed missing copyright and import sys in examples