Fixed constant configuration saving, added config header