set profile correctly (live vs ondemand)