Improved 502 file