Made export accessible outside auth