change dir struct and add images