Added support for 404s and fails - 404 detection hardcoded for now