outfile option upgraded, in script tag searching added