added flags to do.sh