Added a better error handling and compatibility to Adobe Illustrator