Return to profit follows pivot into housing maintenance, decarbonisation and fire safety