added inject-before and inject-after