script corrections