added in slope image, refactored images and logic around to support the slope.