Functions and scripts for Giwta's BAU