in sms logic, changed shelflife reference to stacklife. fixes #83