added version 2.2 of SPMP + attachments