Removed problem with duplicate reporting and added arguments for db host.