added threading capability to python script.