Parse options from environment