Added in some changes to make searching for charges more efficient/accurate and now allows the generator to autodetect aliases.