support for argument environment for main.