Some fixes to the python script version of the demonstrator to make it executable.