Backup of working py code
Definitely working code.