Fixed shallow copy problem in scripturls.