Ok I figured it out, Had to modify the path this way
How to update PATH variable permanently from cmd? Windows
I am not sure what the difference is between a system path and user path, especially since the programs that needed the path were running on my account.