gets ports and localnet ip from command line arguments
uses shell script to setup gpio and run python script