made a few changes to run on pi, without images etc.