Commented out some try...except blocks as they were kiding some other errors. Solved their problems with if blocks.