Fix script_xref() insertion outside of description.

fix_script_xref(): New function.
main(): Add call fix_script_xref.