minor script fix