Script to check for HTTP codes