steal a bunch of settings from Flavio