get balance script working a leetle better