prepared directories for chaining