init directory