This script can only be run from CLI