offline generator support specify root