Switched to better method of dictionary loading