Fixed an import issue where i forgot to import os.path to fix a bug from before