script export fix