Added protection system

If a configuration file is deleted, it is recreated again