Make setup.sh more general.