(1.5) added safe repo dir and copy