Im not religious but i do believe that the idea of mutations being 100% random is ridicolous.
Why does no desert animals suddently develop swimming fins?
Why does no water living animals suddently develop legs?
Even if that actually does happen please bare with me
My idea is that maybe the organism registers its surroundings to a very small degree over time.
Lets say you have a species living on land that moves closer to water. The added time spenditure in water doesent make that species instantly deveop fins. However the organism saves the information to its genes - that its habitat (Spelling?) is more and more affected by water. Now as this information to the organism accumulates over generations - the large amount of time spent in water and such makes its offspring to eventually born with fins ( Or other water living traits)
Now at this same time a population of the same species lives farther up in land. They will not develop fins. Then lets say a huge flood occur.
What happens now is that the part of the species without fins died, while the ones with them survived.
Isnt it possible that somewhere in the DNA, information based on outside influences like temperature, physical behaviour, time spent in water and such is saved and that genes that causes mutations are made apperant in offspring first when a certain amount of exposure is met?