This script can only be called via CLI