Added switch to automatically install dependencies using apt-get.