Writes to DB upon download
Added config history