Started support for active flag but run into a snag, will continue when problem is discussed with carsten