added CAPDIR