Changed apt-get to use simulation instead

--check-only does not exist on older releases of apt-get and thus breaking the script. Changed to use simulation mode for the same effect.