I require an Illustrator CC 2014 document to already be open.
Then the script is run and it saves the file with PDF Compatibility On.
Include Linked Files Off.
Embed ICC Profiles Off.
Use Compression On.
Closes the document.
And then a second script which includes
Include Linked Files On.