add config for lightning