fixed image compat and permissions

Signed-off-by: -Underdog- github.underdog@gmail.com