Fixed bug with starting via config file