adding main directory