Rewrite setup.sh