update to use config and not hard-coded keys