quick modification to have a program which can be tested in the destination folder
add DEBUG_PRINT constant
fix an issue with Python 3.4, it does not crash anynore when throwing an exception