moved command.sh into command.js for windows support