Fix scripts that call each other.