using valid image object
using correct md5_cmp for it's index
working with header options
updated readme