script ajax now returning exports