Added some aliases and logic to find number of cores