generate-configuration: modules, header actions