You could condense these 5 lines by using the image() proc.