Made credit_balance script cleaner and smarter by using direct API elements
Made script cleaner and smarter by using direct API elements instead of variables