Added a a check to install profile