remove EWF, fix image to be local, 1024 optimization