add -y flag to install script

added -y to install script to auto accept in apt-get for ubuntu