Fixed setting script name in mailer preview test