corrected so that bundle subdirs copy to the right place