CLI script works now.