script library for ADDB