found that the script stops outputting HTML after reading config file values