Passing variables through to notifications