Add conditions activity and enabled

Signed-off-by: Ajax Chai <ajaxchai@gmail.com>