replaces, script error