Need to set $profile before trying to use it.
Again