Deal in second year helps endangered fish, local power plant