Adding a debug mode for simpler output and command use