Added code for including images to goals.