added required code for the ReadSms plugin