reading svc, writing result to sqlite3 db