please write an optimized .jsx script for indesign which transforms a spreads document with multiple master pages into a single page document while keeping all the original margins, layout, positioning of the elements and reference to master pages.  Your answer should have exactly 4 paragraphs. Make sure that the 2nd paragraph starts with the word "accounts" and that each paragraph is separated by two new lines.
user