adjusting situations score when activating and added isDefinedBy for files