change error catching and add recipes by platform family