creating config file during installation