Small updates to commands.js