How does the sentence end?

The nails were coming out of the wood and needed to be replaced with screws so the
Available options: -- nails were inserted. -- screws were inserted.
screws were inserted.