add script for filter (toggle filter)