Added option to install packages (thanks Tome)