#761 -Minor change to created SCRIPT tag form mating