Optimising the physical and mental well-being of people in the community