Cleaned up the function to find command line switches, added a function to start another process (unix only works right now)