Updated Python Script (Again)