Enhancement: Added support to return setting values based on a hook call
result