add pgrp/fgrp support