fix script reference