Update ScriptRepository interface to match current design

Updates the interface to match design #6174

re #6175