Fix send credit script when completing