Fixes bugs with check.sh where the node would constantly scan and increments the version number