Updating Agent to use new Hub commands.