updated setup script for ubuntu / redhat