trying to get the filter script working