added stack to directory missing error; removed long debug for exclude