update setup.sh, support standalone mode
bypass-daemon