Fixed output, bug in script string replace.