improve loadlocalscript