Refreshed examples, added logic for optional environment variables, fixed bug with order of flag.Parse()