Corrected ab scripts