init directories