Preparing in-file imports and processing, and new command system.