lower all variables.
optarg must be uppered.
fix nohup bug