Cleaner way to load profile