add option to disable inheriting the configuration