Adding state=RLI to prepareSGP in rliSGP