Add UI improvements and ids are returned to node.js from the python script