Adding dry run mode, outputs events & XML, use -n