Added overwrite argument to database-handler.