title: Can a Google Apps Script edit another Script?
body: <p>Can you work with scripts like you can with Docs, Spreadsheets and Forms? ie. I can copy a Document by using DocsList.getFileById(fileId).makeCopy, and then edit the copy with DocumentApp.openById(fileId).getBody.replaceText.</p>
  
  <p>Copying the file (per above) will also create a copy of the associated script, but there doesn't seem to be an equivalent ScriptApp...replaceText (there is a ScriptApp, but it does different things). Is there any way to programmatically edit a script?</p>
  
  <p>I want users to be able to run a script that will copy my script and customise it for them, based on some input they provide to my script.</p>