Update commands.js

adds hex functionality to take an arg