Update Smart Commands.R