Fixed some Python errors and did some Carbonite customization