add inject snippet