Fixed the script to create events with especial characters in the parameters