Adds port and directory command line arguments