diff --git a/tools/update_app_levels/update_app_levels.py b/tools/update_app_levels/update_app_levels.py
index 12713de..fc83326 100644
--- a/tools/update_app_levels/update_app_levels.py
+++ b/tools/update_app_levels/update_app_levels.py
@@ -7,7 +7,7 @@ import sys
 import json
 from collections import OrderedDict
 
-token = open(".github_token").read().strip()
+token = open(os.path.dirname(__file__) + "/../../.github_token").read().strip()
 
 tmpdir = tempfile.mkdtemp(prefix="update_app_levels_")
 os.system(f"git clone 'https://oauth2:{token}@github.com/yunohost/apps' {tmpdir}")