Loadscript edit fix