added pids to pid directory