Added port parsing from command line