We experimentally analyze whether the opportunity to receive a permanent contract motivates temporary group members in a public good setting and how this affects the other group members. We compare an exogenous and an endogenous decision mechanism to extend the temporary agents group membership. The exogenous mechanism to extend the contract is modeled by a random draw. In the endogenous setting, one other group member decides about the temporary agents future group membership. Our results reveal that both the decision to extend a contract and the decision mechanism itself affect not only the temporary group members effort but also the efforts of the permanent group members and, ultimately, also cooperation within the group after the decision has been made.