Fix shellwords error
Fix print, fix ip detection