Cleaned up how the profile is laoded