REST API rename: plstackapi -> xos
diff --git a/planetstack/core/tests.py b/planetstack/core/tests.py
index 1c490c8..d07069a 100644
--- a/planetstack/core/tests.py
+++ b/planetstack/core/tests.py
@@ -69,7 +69,7 @@
 
 
 	def create(self, model, mplural, record):
-		request = self.client.put('/plstackapi/%s/'%mplural,record['fields'])
+		request = self.client.put('/xos/%s/'%mplural,record['fields'])
 
 		#if (len2==len1):
 		#	raise Exception('Could not delete %s/%d'%(model,pk))
@@ -81,7 +81,7 @@
 		record_to_update = src_record['fields']
 		now = datetime.now()
 		record_to_update['enacted']=now
-		response = self.client.put('/plstackapi/%s/%d/'%(mplural,pk),record_to_update)
+		response = self.client.put('/xos/%s/%d/'%(mplural,pk),record_to_update)
 		self.assertEqual(response.data['enacted'],now)
 
 		return
@@ -89,14 +89,14 @@
 	def delete(self, model, mplural, pk):
 		mclass = globals()[model]
 		len1 = len(mclass.objects.all())
-		response = self.client.delete('/plstackapi/%s/%d/'%(mplural,pk))
+		response = self.client.delete('/xos/%s/%d/'%(mplural,pk))
 		len2 = len(mclass.objects.all())
 		self.assertNotEqual(len1,len2)
 
 		return
 
 	def retrieve(self, m, mplural, mlower):
-		response = self.client.get('/plstackapi/%s/'%mplural)
+		response = self.client.get('/xos/%s/'%mplural)
 		#force_authenticate(request,user=self.calling_user)
 		self.check_items(response.data,self.data_dict[mlower])
 
diff --git a/planetstack/hpc_wizard/planetstack_analytics.py b/planetstack/hpc_wizard/planetstack_analytics.py
index 75462d4..2cbb7e7 100644
--- a/planetstack/hpc_wizard/planetstack_analytics.py
+++ b/planetstack/hpc_wizard/planetstack_analytics.py
@@ -8,10 +8,8 @@
 import traceback
 import urllib2
 
-if os.path.exists("/home/smbaker/projects/vicci/plstackapi/planetstack"):
-    sys.path.append("/home/smbaker/projects/vicci/plstackapi/planetstack")
-else:
-    sys.path.append("/opt/planetstack")
+# XXX hardcoded path
+sys.path.append("/opt/planetstack")
 
 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "planetstack.settings")
 from django.conf import settings