fix filename vars to match older code