Move config check to start function, which also parses the file