Re-arranged the system dependencies, added ability to use lambda function for new-value of global settings.