Added global.output to functions in dlb.js
Used output() in commands.js