Make sure that you create the profile before you execute the GUI.If this isn't your problem, post your code.Also, look in the .gui file to see if it actually saves the GUI as having that profile.
thanks I was using exec ("") before creating the profile