Added support for SET PROFILE mode