Updated to download the profile

Updated to download the profile