Fixing bug with execSync.