Change config to properties and add pg_config