Added shared dirs to cap