adding pids dir