Added -debugmode to command arguments