Fix spacing typos in output script

[#59020930]