add var file generation
 add var file generation