Pass metadata the wrapper function so it knows which screen function is running