addscript fix