Moved the check if the TMOUT variable is an integer,
so it also tests if the variable was set in the script modification area.