Adds some local variables to init script.
Checks for new version on a daily basis.