Draft of setauth_cmd.js