regeneration of build and conf files and var removals