fixed setup.sh mode