A contractor is responsible for ensuring that the job is done in accordance with the terms of the contract.