thanks for lanshark for adding python3 support