support auto import at interactive mode