Parse options (and open the database) before starting transactions