Partial changes for ps command