Rework tree structure
Reworked process of re signing to verify certificate used to sign and certificate embedded in provisioning profile