diff --git a/abstracting_script.py b/abstracting_script.py
index 562dd9b51da969ae9745e112777b32d32c0b63e3..44ddba00eb4cec87edfe7a92710f394d61e326b5 100644
--- a/abstracting_script.py
+++ b/abstracting_script.py
@@ -40,9 +40,11 @@ other_event = ['hyperlink', 'jsav-narration-on', 'jsav-narration-off', 'button-l
 
 # Reads a raw interaction data file
 def readfile(file_name):
-    os.chdir("./data/" + file_name)
+    
+    #os.chdir("./user_data/" + file_name)
+    os.chdir(os.path.dirname(os.path.abspath(__file__)))
     print("Reading " + file_name + " data")
-    df = pd.read_csv(file_name + "_sorted.csv")
+    df = pd.read_csv(file_name)
     global csvdata
     csvdata = df.sort_values(['user_id', 'action_time'])
     print(df.iloc[1])
@@ -316,7 +318,7 @@ def abstract(file_name):
                 
 start_time = time.time()
 
-abstract("cs5040_spring_2021") 
+abstract("User_Interactions.csv") 
 print(total_session_count, total_session_time)
 print("--- %s seconds ---" % (time.time() - start_time))