added support for directories ripping code from contrib-copy, config now same as contrib-copy