exec-sync is deprecated. use execSync or native (node 0.11+) when available.