How to generate configuration file ??