Fix updating config file problem

new feature: create run.js automatically at startup if not exists