auto-insert setup