Update scripts, auto build hooks