fixed ubuntu script to support new dependencies