Adding script to reset node. Also this code works