in reply to stop start script

I don't really understand your question, but why don't you use CGI.pm?