add zipRoot option and corresponding logic
upgrade version