pmg script now just uses prettytable.