Added profile saving