use global env script directory