Fix loading script.