refine setup.sh