Use python3 syntax in print calls for forward compatibility