Modified command-script.js