Finished script for adding many events