Minor updates to the optimizer-cli sample