Alright so I'm building an auto installer for a few various scripts using Debian and apt-get via a .sh file. My question being how do I keep the console from asking if they want to install something?

As an example the script executes the following command:

apt-get install apache2 php5 libapache2-mod-php5

How do I keep the console from asking 'Do you want to download and install XXmb?', and just have it install the files without asking?

EDIT: CLOSE THE THREAD --- I feel like an idiot, I just need to use -y