It is possible the Ready event will produce unexpected results if KaleidaGraph is being launched by the script and the Event Log is open. It may not tell the script that KaleidaGraph is ready unless you go and choose KaleidaGraph and return to the script. Either close the Event Log or modify the command so that it waits for a specific window name to be listed (Data 1 for example).
KaleidaGraph is a thoughtfully designed graphing and data analysis application for research scientists, as well as for those in business and engineering fields. It produces publication-quality graphs, and easily converts the most complex data into a functional display.