change containerConfig to activityConfig.  wip of Young's code review.
applied Young's code review suggestions
changing attemptsRemaining to attemptsMade