Implemented saveSubStudy in StudyDir