master setup script