Added build_db bool to speed up processing

Only have to build SQLite DBs from scratch when necessary/desired now.