Initial fixes to make it work with a simple (test.png) image