Adds command line options for port/env