Completely rewrite setup.sh