Modified to set proper config locations if on a kate-*.com domain.