I have a script that emails reports to our staff once a month. The reports are HTML emails with several graphs giving an overview of where each department stands financially. Along with the graphs is a listing of accounts; each account is a link to a script that generates a more detailed report for that account. This approach works fine under Internet Explorer, but when users who use Firefox click on a link they are presented with a dialog box in Firefox asking what program they want to use to open financial_dashboard_detail.pl (the name of the script) "which is a: application/octet-stream from http://mungedaddress/cgi-bin/".