Updated to fix issue where it wouldn't load images