explicitly add resources to envelope when building them