update of spinup_check.sh