SB - removed the hardcoded session variables from the plans module