Updated to support multiple sections

Signed-off-by: Darren Ehlers <me@darrenehlers.com>