Implemented max health into settings