add ZLoop at build file and remove generated files