added flexible support directory setting