configurable parameter insertAfter and insertBefore overriden by defaults