Version 1.0.6 - fixes to better handle Python 3