Adding sqlite support to SMS.pl