Attempt at autosetup.