Cleaning the final code in Images