Added attach to existing pid feature.