[flex] Fixed the import command implementation.