Adding check_credit script