added conditional logic to hero image and the ability to dynamically populate hero image