Update dropbox setup script
Tidy up postgres script
Update script for installing packages. Applies clean on trusty.