If you specify aliases in the config file, you don't need to do this check. It cleans the code up a bit :D