modefied: commands.js