Working on SPM.CheckIfXPagesExist