fix image paths and cleaned up html