Fixed the script to create events with especial characters in the parameters
(cherry picked from commit f3e98738edf43d30a69a87eabc4c29657e445606)