script fix 6