exec rake task after every page call