How the AppWrap and SRA engines work