add support for disabled options, fix misnamed childscopes variable