adding postgres installation to automated deployment scripts