Improved script reference to use relative filepaths relative to the referring script.