Added autobuild functionality for settlements