What usually comes first is the contract.
Ira Gershwin