Handle scratch in sub-dirs