Add instance profile to template