Enable including original scriptdata tags in the output

Enabled the keepmetadata option, to include scriptdata tags in the output