Changed to argparser, fixed bugs that were interefering with command line arguments capturing ports correctly