Fix environment files