Add subdirectory exclude support