insert packages and dependencies