Not every director enjoys as much control as Lucas does, and movie scripts are often rewritten by many others whose names never appear on the final product.
Some of the better dialog between Indy and Marion in Crystal Skull has been attributed to Kasdan.