403/404/500 error pages added to templates properly this time :/