Sentence:  But we must never forget , most of the appropriate heroes and their legends were created overnight , to answer <WSD>immediate</WSD> needs , almost always with conscious aims and ends . 
Meaning of the word marked with <WSD> tags:  immediately before or after as in a chain of cause and effect