add check if private.d exists before mkdir'ing it