Arg missing handling and function start for port scanning