filtering of types script added