Update rect.sh