This change allows paths to be used when calling the image