balance script