added .xprofile functionality