commands.js updated