Cleant up Python code a bit and reuploaded.