added a script line to write to console a python variable