small fixes to enza script