remove use of execSync