This script should be run from the CLI.