This script can only be run in CLI mode.