updated switchXetex.py to get home path variable