Installersript to install Nvidia driver and bumblebee. This script will install all the packages you need and configure the settings you need.
Download the installer.sh file. Execute with root priviledges and give the driver you wish as param.
sudo ./installer.sh