Add support for all 1.7 versions

Update error handling for loading nms handlers