First draft of python script completed.