Python script to run from command line.