filter for scheduler script