nContext.create(credentials),
       InsertPages = PDFServicesSdk.InsertPages,
       insertPagesOperation = InsertPages.Operation.createNew();

 insertPagesOperation.setBaseInput(PDFServicesSdk.FileRef.createFromLocalFile('~/Documents/insertPagesOperationBaseInput.pdf',
 	InsertPages.SupportedSourceFormat.pdf));
 insertPagesOperation.addPagesToInsertAt(1, PDFServicesSdk.FileRef.createFromLocalFile('~/Documents/insertPagesOperationFileToInsertInput.pdf',
 	InsertPages.SupportedSourceFormat.pdf));

 insertPa