Adding the ability to dump img