update run-bg.sh