changed the place it looked for file ext