Replaced StringBuilder with ProcessBuilder