Extra sanity check in the SharePoint script