I found that names of enviroment variables set in g.parser are converted in execlp(?) to uppercase. Consequently variable GIS_OPT_input for example is not defined and script fails. The name of variable was converted to GIS_OPT_INPUT. Any ideas how to resolve this? Radim