creating script for part 2 in Illustrator