Updated pg util scripts