readjusted images and deleted unnecessary code for plate image