Fix event emit in command line script