renaming spai to ssur, added flags