new version of the script:
 * fixed indentation
 * implementation of ptc support
 * none mode implementation, simply prints temperature