finish replacing code with diff images