Adding filter to some the page commands