added idempotency
add directory for manifest