Added removal of any existing temporary db.