changed to remove pid at end of program