add config.gz support