Moved duping to child process