Do not run code if undefined
require('path') needed on linux
Do not automatically upgrade -  Added an option to upgrade to github version