The Village of Amityville has reached an agreement