prepare insdir