added encrypt dir