Add startStage2APICalls function. Add getGeneralDone variable.