Added more error checking

Skips item if something fails, as usual.