adding pg configuration