This script must be run via WP-CLI or WP admin.