This script must be run from command line.