Added some error catching to possibly prevent an error
Rebuilt mod