export inner script