removed hard coded image name in image rescale