Switched to manual color reset for python3 support