changing install directories to be in a dictionary