Attempted to complete ST3 support by splitting out the insert command to avoid errors with using the Edit object after the main importcommand has returned