pass env and uid | gid