mkimage working as intended now