Fixing jobs to use correct sqlite3 commands