Also added sd failure messages This probably needs a lot of cleanup
+ small modifications, just for fun