transform variables in setup instead of data scripts