dont rely on the fs store command for status... check the db! also simplify the conf discovery and remove a potential infinit loop