Made endpoint inclusion directory recursive