Call the right profile function