Improved base sandbox adapter template