add ResourceFile and minifix