Added start of implementation for persisting agent ID through container restarts.