You are right, I am just going to have to write another sub to handle it, inman exec cgi maybe ok however I also need to pass some URL parameters which cannot be done with this SSI command as the script gets the same Query_String as the main script :-(.. Thanks for you help guys and keep up the good work.