add config and extensions