added active object that controls whether compoent is used in code execution