baterry and opc-checkout scripts