Adding script sources to associated script; making sure Script objects are not lost