Fixed bug in 'routines.sh'.