update for new -tpg argument