made single setup file for master/slave installations