Added check for spSiteUrl