Made error pages to return dynamic year.