Replacing hosts command with data command