This script can only be run from command line