Also tweak the Illustrator script to expect a name of the format name_view, instead of name-view.
Also put the export part back into the main Illustrator script