implementing page in errorscript