Refactored import commands.