add after and before tools