refactor ScriptRunnerFactory to work with ManageableCrudRepositoryCollection