I think you got what I was trying to say... I have a program uses the banner_rotator subroutine and displays the banner in a header.txt file as $banner. I am using a banner rotater right now that uses img tags OR ssi to display a random banner. I use this on all of my .htm files outside of my cgi-bin. I wan't to use the banner_rotator from my whatever.pl file so that I don't have to update two scripts when I add a new banner.