Added attach to child process