add pids directory to shared dirs