changed variable and temporary file names