Fixed (?) the DistributedResolver main method