 Bern built a salt warehouse in the municipality, followed by a customs house on the border with the Canton of Aargau in 1800.During the 18th century, cottage industry cotton weaving and coal mining began to supplement agriculture in the local economy.After 1800, many of the farms changed from traditional agriculture to dairy and livestock production.