Which answer is a correctly punctuated compound sentence?

A.
My cousin's truck is old and battered it takes him; however, where he needs to go.

B.
My cousin's truck is old and battered, but it takes him where he needs to go.

C.
My cousin's truck is old and battered, it takes him, however, where he needs to go.

D.
My cousin's truck is old and battered but it takes him where he needs to go.