So will putting the correct logic in the Perl CGI script to wait will stop a broken link being shown in the img tag of the HTML document that calls the Perl script in the first place? As I posted previously, existence for the file is checked before calling the redirect.