pass object to command as imports