script fix