diff --git a/BlankProjectTemplate/src/Snake_Game.py b/BlankProjectTemplate/src/Snake_Game.py
index ec3f43ddd8d011b2cd40232116e8434673ea26a2..ac5b537f93210ae984867793bf42c1ed35237881 100644
--- a/BlankProjectTemplate/src/Snake_Game.py
+++ b/BlankProjectTemplate/src/Snake_Game.py
@@ -1,6 +1,6 @@
 #importing necessary libraries
 import pygame, sys
-
+import highscore
 class GUI():
   #a function made to execute other files from the system
   def runfile(runfilename):
@@ -49,8 +49,8 @@ def main():
       if ( 10 <= mousepos[0] <= 310 and 550 <= mousepos[1] <= 550 +55):
         GUI.button(game,[200,0,0],[10,550,300,55], 0)
         if mouseclick[0] == 1:
-            GUI.runfile('highscore.py')
-            #highscore.main()
+            #GUI.runfile('highscore.py')
+            highscore.main()
       else:
         GUI.button(game,[180,180,180], [10,550,300,55], 0)
       GUI.text('HIGHEST SCORE',"comicsansms", 35,(0, 0, 0),(10,550),game)
@@ -67,7 +67,8 @@ def main():
       
       pygame.display.update()
 
-main()
+if __name__ == "__main__":
+  main()
 
 
 
diff --git a/BlankProjectTemplate/src/highscore.py b/BlankProjectTemplate/src/highscore.py
index 9f919a445e5bf7341494226446af526fa8752409..8eef23bebad2303b4befde3726cd8faf5dd2ae98 100644
--- a/BlankProjectTemplate/src/highscore.py
+++ b/BlankProjectTemplate/src/highscore.py
@@ -1,5 +1,5 @@
 import pygame, sys
-from tkinter import *
+import Snake_Game
 
 class HighScore():
   def runfile(runfilename):
@@ -38,7 +38,8 @@ def main():
       HighScore.text('Main Menu',"times", 25,red,(90,70),highscore)
       if (90 <= mousepos[0] <= 90+120 and 70 <= mousepos[1] <= 70+27 ):
           if mouseclick[0] == 1:
-              HighScore.runfile('Snake_Game.py')
+              #HighScore.runfile('Snake_Game.py')
+            Snake_Game.main()
 
       HighScore.button(highscore,[0,0,0], [125,105,45,27], 0)
       HighScore.text('Quit',"times", 25,red,(125,105),highscore)
@@ -49,4 +50,4 @@ def main():
               
       pygame.display.update()
 
-main()
+#main()