The gas supply was turned off after the van collided with the property in Dunfermline on Friday afternoon