Adding option to download mainline version. 

This change adds the option to download the latest mainline version (1.7.4) using the --latest flag.