scripts for checking bali data