Added events parsing from command line