Added flexibility with access type (directory v host) [tracker #1559]