Added error handling for non-existing plugins