updating file structure. autorun check env var