Capsule profiles fix and support for default profile