move some exports to pam