tc3 directory added and invert deleted and event selection improved