Switch network profiles on OSX from terminal (with pre-up and post-down script support to set custom routes ...).