Use wrench.js instead of shell commands

Fixes windows compatibility