As an individual contractor (it is very different if you are contracted through a global consulting firm): if you are successful your contract will be terminated so the persons hiring you can claim the credit. If you are unsuccessful then you are the scapegoat and thus terminated.