Added code for step 3, sticky sessions on / off.