added config file, added more status