Modify script export