Shortened the code for getting framework paths, thinking of making a .json file for relevant metainfo