added new dependencies, readded postgresql new fix for debian based distro