added autoremove to first apt command
We found out that the social monitor servers had built up a large number of files for the linux-header packages. This command will autoremove unused packages, which will also ensure that we keep the number of files on the server down to a minimum.