updates to .xprofile and batt script