adds v2 and v3 init folder support