overrwrite images instead of duplicating them
added TODO