add total script