added some error handling, simple shodan search and a few other tweaks