better 404 and Analytics script