Added shebangs, logging messages are now shown. Running on an Rpi allows previewing the generated images.