Generating config file from script, since it's gone from upstream.