Working with Automatic documents and Inserting New Documents