Changed the code to remove eval command, now the currentElement has an id which is shared by functions
Added link element, now steps can be linked