fixed my changes to work with zach's static image fixes