Changed extension on imagefile to .img