Added new parameter flow for preference. Added parameter change on death depending on position.