scriptConfig fix