Use a param to trigger export rather than a separate action