Move pg to global gem