fixes script tags in specrunner