Have to export variables before and after setup